package com.example.zzh.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 功能描述
 *
 * @author: ZhangZhenHao
 * @date: 2024年01月09日 12:24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="库存信息列表", description="库存信息列表")
public class ZzhProductStockInfo {

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "产品id")
    private Long materialId;

    @ApiModelProperty(value = "产品名字")
    private String materialName;

    @ApiModelProperty(value = "仓库id")
    private Long depotId;

    @ApiModelProperty(value = "仓库名字")
    private String depotName;

    @ApiModelProperty(value = "当前库存数量")
    private BigDecimal currentNumber;

    @ApiModelProperty(value = "最低安全库存数量")
    private BigDecimal lowNumber;

    @ApiModelProperty(value = "最高安全库存数量")
    private BigDecimal highNumber;

    @ApiModelProperty(value = "0删除，1启用，2禁用")
    private Integer status;
}
